<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >

  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/turbolinks/5.2.0/turbolinks.js" integrity="sha256-iM4Yzi/zLj/IshPWMC1IluRxTtRjMqjPGd97TZ9yYpU=" crossorigin="anonymous"></script>
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Cousine|Inconsolata" rel="stylesheet">
  <link rel="shortcut icon" type="image/png" href="/favicon.png">

  <link rel="stylesheet" href="/css/style.css">
  <link rel="stylesheet" href="/css/css/fontawesome-all.min.css">
  <link rel="stylesheet" href="/css/css/work-sans-v7.css">
  <script src="/js/main.js"></script>

  <!-- Begin Jekyll SEO tag v2.6.1 -->
<title>Network Broadcast Api | Hive Developer</title>
<meta name="generator" content="Jekyll v4.0.0" />
<meta property="og:title" content="Network Broadcast Api" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Methods: broadcast_block broadcast_transaction Used to broadcast transactions and blocks. These AppBase API methods are still under development and subject to change. Also see: Blockchain Ops Related network_broadcast_api.broadcast_block Used to broadcast a block. Query Parameters JSON { &quot;block&quot;: { &quot;previous&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;timestamp&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;witness&quot;: &quot;&quot;, &quot;transaction_merkle_root&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;extensions&quot;: [], &quot;witness_signature&quot;: &quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;, &quot;transactions&quot;: [] } } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_block&quot;, &quot;params&quot;:{&quot;block&quot;:{&quot;previous&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;timestamp&quot;:&quot;1970-01-01T00:00:00&quot;,&quot;witness&quot;:&quot;&quot;,&quot;transaction_merkle_root&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;extensions&quot;:[],&quot;witness_signature&quot;:&quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;,&quot;transactions&quot;:[]}}, &quot;id&quot;:1}&#39; https://api.openhive.network Related network_broadcast_api.broadcast_transaction Used to broadcast a transaction. Query Parameters JSON { &quot;trx&quot;: { &quot;ref_block_num&quot;: 0, &quot;ref_block_prefix&quot;: 0, &quot;expiration&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;operations&quot;: [], &quot;extensions&quot;: [], &quot;signatures&quot;: [] }, &quot;max_block_age&quot;: -1 } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;vote_operation&quot;,&quot;value&quot;:{&quot;voter&quot;:&quot;hiveio&quot;,&quot;author&quot;:&quot;alice&quot;,&quot;permlink&quot;:&quot;a-post-by-alice&quot;,&quot;weight&quot;:10000}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;pow_operation&quot;,&quot;value&quot;:{&quot;worker_account&quot;:&quot;cloop3&quot;,&quot;block_id&quot;:&quot;00000449f7860b82b4fbe2f317c670e9f01d6d9a&quot;,&quot;nonce&quot;:3899,&quot;work&quot;:{&quot;worker&quot;:&quot;STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F&quot;,&quot;input&quot;:&quot;ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0&quot;,&quot;signature&quot;:&quot;1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a&quot;,&quot;work&quot;:&quot;000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3&quot;},&quot;props&quot;:{&quot;account_creation_fee&quot;:{&quot;amount&quot;:&quot;100000&quot;,&quot;precision&quot;:3,&quot;nai&quot;:&quot;@@000000021&quot;},&quot;maximum_block_size&quot;:131072,&quot;sbd_interest_rate&quot;:1000}}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network" />
<meta property="og:description" content="Methods: broadcast_block broadcast_transaction Used to broadcast transactions and blocks. These AppBase API methods are still under development and subject to change. Also see: Blockchain Ops Related network_broadcast_api.broadcast_block Used to broadcast a block. Query Parameters JSON { &quot;block&quot;: { &quot;previous&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;timestamp&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;witness&quot;: &quot;&quot;, &quot;transaction_merkle_root&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;extensions&quot;: [], &quot;witness_signature&quot;: &quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;, &quot;transactions&quot;: [] } } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_block&quot;, &quot;params&quot;:{&quot;block&quot;:{&quot;previous&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;timestamp&quot;:&quot;1970-01-01T00:00:00&quot;,&quot;witness&quot;:&quot;&quot;,&quot;transaction_merkle_root&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;extensions&quot;:[],&quot;witness_signature&quot;:&quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;,&quot;transactions&quot;:[]}}, &quot;id&quot;:1}&#39; https://api.openhive.network Related network_broadcast_api.broadcast_transaction Used to broadcast a transaction. Query Parameters JSON { &quot;trx&quot;: { &quot;ref_block_num&quot;: 0, &quot;ref_block_prefix&quot;: 0, &quot;expiration&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;operations&quot;: [], &quot;extensions&quot;: [], &quot;signatures&quot;: [] }, &quot;max_block_age&quot;: -1 } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;vote_operation&quot;,&quot;value&quot;:{&quot;voter&quot;:&quot;hiveio&quot;,&quot;author&quot;:&quot;alice&quot;,&quot;permlink&quot;:&quot;a-post-by-alice&quot;,&quot;weight&quot;:10000}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;pow_operation&quot;,&quot;value&quot;:{&quot;worker_account&quot;:&quot;cloop3&quot;,&quot;block_id&quot;:&quot;00000449f7860b82b4fbe2f317c670e9f01d6d9a&quot;,&quot;nonce&quot;:3899,&quot;work&quot;:{&quot;worker&quot;:&quot;STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F&quot;,&quot;input&quot;:&quot;ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0&quot;,&quot;signature&quot;:&quot;1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a&quot;,&quot;work&quot;:&quot;000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3&quot;},&quot;props&quot;:{&quot;account_creation_fee&quot;:{&quot;amount&quot;:&quot;100000&quot;,&quot;precision&quot;:3,&quot;nai&quot;:&quot;@@000000021&quot;},&quot;maximum_block_size&quot;:131072,&quot;sbd_interest_rate&quot;:1000}}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network" />
<link rel="canonical" href=".#apidefinitions-network-broadcast-api" />
<meta property="og:url" content=".#apidefinitions-network-broadcast-api" />
<meta property="og:site_name" content="Hive Developer" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2020-08-26T11:52:22-07:00" />
<script type="application/ld+json">
{"description":"Methods: broadcast_block broadcast_transaction Used to broadcast transactions and blocks. These AppBase API methods are still under development and subject to change. Also see: Blockchain Ops Related network_broadcast_api.broadcast_block Used to broadcast a block. Query Parameters JSON { &quot;block&quot;: { &quot;previous&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;timestamp&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;witness&quot;: &quot;&quot;, &quot;transaction_merkle_root&quot;: &quot;0000000000000000000000000000000000000000&quot;, &quot;extensions&quot;: [], &quot;witness_signature&quot;: &quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;, &quot;transactions&quot;: [] } } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_block&quot;, &quot;params&quot;:{&quot;block&quot;:{&quot;previous&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;timestamp&quot;:&quot;1970-01-01T00:00:00&quot;,&quot;witness&quot;:&quot;&quot;,&quot;transaction_merkle_root&quot;:&quot;0000000000000000000000000000000000000000&quot;,&quot;extensions&quot;:[],&quot;witness_signature&quot;:&quot;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&quot;,&quot;transactions&quot;:[]}}, &quot;id&quot;:1}&#39; https://api.openhive.network Related network_broadcast_api.broadcast_transaction Used to broadcast a transaction. Query Parameters JSON { &quot;trx&quot;: { &quot;ref_block_num&quot;: 0, &quot;ref_block_prefix&quot;: 0, &quot;expiration&quot;: &quot;1970-01-01T00:00:00&quot;, &quot;operations&quot;: [], &quot;extensions&quot;: [], &quot;signatures&quot;: [] }, &quot;max_block_age&quot;: -1 } Expected Response JSON {} Example curl curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;vote_operation&quot;,&quot;value&quot;:{&quot;voter&quot;:&quot;hiveio&quot;,&quot;author&quot;:&quot;alice&quot;,&quot;permlink&quot;:&quot;a-post-by-alice&quot;,&quot;weight&quot;:10000}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network curl -s --data &#39;{&quot;jsonrpc&quot;:&quot;2.0&quot;, &quot;method&quot;:&quot;network_broadcast_api.broadcast_transaction&quot;, &quot;params&quot;:{&quot;trx&quot;:{&quot;ref_block_num&quot;:1097,&quot;ref_block_prefix&quot;:2181793527,&quot;expiration&quot;:&quot;2016-03-24T18:00:21&quot;,&quot;operations&quot;:[{&quot;type&quot;:&quot;pow_operation&quot;,&quot;value&quot;:{&quot;worker_account&quot;:&quot;cloop3&quot;,&quot;block_id&quot;:&quot;00000449f7860b82b4fbe2f317c670e9f01d6d9a&quot;,&quot;nonce&quot;:3899,&quot;work&quot;:{&quot;worker&quot;:&quot;STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F&quot;,&quot;input&quot;:&quot;ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0&quot;,&quot;signature&quot;:&quot;1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a&quot;,&quot;work&quot;:&quot;000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3&quot;},&quot;props&quot;:{&quot;account_creation_fee&quot;:{&quot;amount&quot;:&quot;100000&quot;,&quot;precision&quot;:3,&quot;nai&quot;:&quot;@@000000021&quot;},&quot;maximum_block_size&quot;:131072,&quot;sbd_interest_rate&quot;:1000}}}],&quot;extensions&quot;:[],&quot;signatures&quot;:[]},&quot;max_block_age&quot;:50}, &quot;id&quot;:1}&#39; https://api.openhive.network","mainEntityOfPage":{"@type":"WebPage","@id":".#apidefinitions-network-broadcast-api"},"@type":"BlogPosting","url":".#apidefinitions-network-broadcast-api","headline":"Network Broadcast Api","dateModified":"2020-08-26T11:52:22-07:00","datePublished":"2020-08-26T11:52:22-07:00","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->


  
</head>
<body>
<header>
  <h1>
    <button type="button" class="open-nav" id="open-nav"></button>
    <a href="/"  class="logo-link"><img src="/images/logotype_black.svg" height="40" alt="Hive Developer logo"></a>
  </h1>

  
  <form action="/search/" method="get">
    <input type="text" name="q" id="search-input" placeholder="Search">
    <input type="submit" value="Search" style="display: none;">
  </form>
  

  <div id="sidebar" class="sidebar">
	
	
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/">
		<h6 class="ctrl-nav-section title">Introduction</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/#introduction-welcome">Welcome to Hive</a></li>
						
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/quickstart/">
		<h6 class="ctrl-nav-section title">Quickstart</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/quickstart/#quickstart-choose-library">Choose Library</a></li>
						
					
						
						<li><a href="/quickstart/#quickstart-hive-full-nodes">Hive Nodes</a></li>
						
					
						
						<li><a href="/quickstart/#quickstart-testnet">Hive Testnet</a></li>
						
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/tutorials/">
		<h6 class="ctrl-nav-section title">Tutorials</h6>
		<ul class="cont-nav-section content">
			
				
					
						<li><a href="/tutorials/#tutorials-javascript">Javascript</a></li>
					
				
					
						<li><a href="/tutorials/#tutorials-python">Python</a></li>
					
				
					
						<li><a href="/tutorials/#tutorials-ruby">Ruby</a></li>
					
				
					
						<li><a href="/tutorials/#tutorials-recipes">Recipes</a></li>
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/services/">
		<h6 class="ctrl-nav-section title">Services</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/services/#services-hive-blog">hive.blog</a></li>
						
					
						
						<li><a href="/services/#services-hivesigner">HiveSigner</a></li>
						
					
						
						<li><a href="/services/#services-jussi">Jussi</a></li>
						
					
						
						<li><a href="/services/#services-imagehoster">ImageHoster</a></li>
						
					
						
						<li><a href="/services/#services-dhf">DHF</a></li>
						
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/apidefinitions/">
		<h6 class="ctrl-nav-section title">Appbase API</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/apidefinitions/#apidefinitions-condenser-api">Condenser Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-bridge">Bridge</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-account-by-key-api">Account By Key Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-account-history-api">Account History Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-block-api">Block Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-database-api">Database Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-debug-node-api">Debug Node Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-follow-api">Follow Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-jsonrpc">Jsonrpc</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-market-history-api">Market History Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-network-broadcast-api">Network Broadcast Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-rc-api">Rc Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-reputation-api">Reputation Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-rewards-api">Rewards Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-tags-api">Tags Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-transaction-status-api">Transaction Status Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-witness-api">Witness Api</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-broadcast-ops">Broadcast Ops</a></li>
						
					
						
						<li><a href="/apidefinitions/#apidefinitions-broadcast-ops-communities">Broadcast Ops Communities</a></li>
						
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/resources/">
		<h6 class="ctrl-nav-section title">Resources</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/resources/#resources-overview">Overview</a></li>
						
					
						
						<li><a href="/resources/#resources-client-libs">Client Libraries</a></li>
						
					
						
						<li><a href="/resources/#resources-bluepaper">Bluepaper</a></li>
						
					
						
						<li><a href="/resources/#resources-whitepaper">Whitepaper</a></li>
						
					
						
						<li><a href="/resources/#resources-tools">Tools</a></li>
						
					
						
						<li><a href="/resources/#resources-hivesigner-libs">Hivesigner Libs</a></li>
						
					
						
						<li><a href="/resources/#resources-hive-keychain">Hive Keychain</a></li>
						
					
						
						<li><a href="/resources/#resources-developeradvocate">Community & Help</a></li>
						
					
				
			
		</ul>
	</section>
	
		
    <section class="pnl-main-nav-section main-nav-section" url="/glossary/">
		<h6 class="ctrl-nav-section title">Glossary</h6>
		<ul class="cont-nav-section content">
			
				
					
					
						
						<li><a href="/glossary/#glossary-chain-basics">Chain Basics</a></li>
						
					
						
					
						
						<li><a href="/glossary/#glossary-governance">Governance</a></li>
						
					
						
						<li><a href="/glossary/#glossary-transactions">Transactions</a></li>
						
					
						
						<li><a href="/glossary/#glossary-api">API</a></li>
						
					
						
						<li><a href="/glossary/#glossary-market">Market</a></li>
						
					
				
			
		</ul>
	</section>
	
</div>



  <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
</header>
<div class="main" id="top">
  <div class="hero">
    <h1 class="hero__h1">Hive Developer Portal </h1>
    <img class="hero__img" src="/images/honey-comb-92.png" style="position: relative; top: 10px;" />
  </div>
  <p>Methods:</p>
<ul>



<li class="button"><a href="#network_broadcast_api.broadcast_block">broadcast_block</a></li>

<li class="button"><a href="#network_broadcast_api.broadcast_transaction">broadcast_transaction</a></li>


</ul>

<p>Used to broadcast transactions and blocks. <strong>These AppBase API methods are
still under development and subject to change.</strong></p>

<p>Also see: <a href="/apidefinitions/broadcast-ops.html">Blockchain Ops</a></p>

<ul style="float: right; list-style: none;">





<li class="info"><strong><small><a href="/search/?q=broadcast%20block">Related <i class="fas fa-search fa-xs"></i></a></small></strong></li>

</ul>
<h4 id="network_broadcast_api.broadcast_block">network_broadcast_api.broadcast_block <a href="#network_broadcast_api.broadcast_block"><i class="fas fa-link fa-xs"></i></a></h4>
<p>Used to broadcast a block.</p>

<h5 id="network_broadcast_api.broadcast_block-parameter_json">Query Parameters JSON <a href="#network_broadcast_api.broadcast_block-parameter_json"><i class="fas fa-link fa-sm"></i></a></h5>
<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"block"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"previous"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1970-01-01T00:00:00"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"witness"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
    </span><span class="nl">"transaction_merkle_root"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"extensions"</span><span class="p">:</span><span class="w"> </span><span class="p">[],</span><span class="w">
    </span><span class="nl">"witness_signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[]</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>
<h5 id="network_broadcast_api.broadcast_block-expected_response_json">Expected Response JSON <a href="#network_broadcast_api.broadcast_block-expected_response_json"><i class="fas fa-link fa-sm"></i></a></h5>
<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{}</span><span class="w">
</span></code></pre></div></div>

<h5 id="network_broadcast_api.broadcast_block-curl-examples">Example <code>curl</code> <a href="#network_broadcast_api.broadcast_block-curl-examples"><i class="fas fa-link fa-sm"></i></a></h5>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-s</span> <span class="nt">--data</span> <span class="s1">'{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_block", "params":{"block":{"previous":"0000000000000000000000000000000000000000","timestamp":"1970-01-01T00:00:00","witness":"","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactions":[]}}, "id":1}'</span> https://api.openhive.network
</code></pre></div></div>

<hr />

<ul style="float: right; list-style: none;">





<li class="info"><strong><small><a href="/search/?q=broadcast%20transaction">Related <i class="fas fa-search fa-xs"></i></a></small></strong></li>

</ul>
<h4 id="network_broadcast_api.broadcast_transaction">network_broadcast_api.broadcast_transaction <a href="#network_broadcast_api.broadcast_transaction"><i class="fas fa-link fa-xs"></i></a></h4>
<p>Used to broadcast a transaction.</p>

<h5 id="network_broadcast_api.broadcast_transaction-parameter_json">Query Parameters JSON <a href="#network_broadcast_api.broadcast_transaction-parameter_json"><i class="fas fa-link fa-sm"></i></a></h5>
<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"trx"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"ref_block_num"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
    </span><span class="nl">"ref_block_prefix"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
    </span><span class="nl">"expiration"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1970-01-01T00:00:00"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"operations"</span><span class="p">:</span><span class="w"> </span><span class="p">[],</span><span class="w">
    </span><span class="nl">"extensions"</span><span class="p">:</span><span class="w"> </span><span class="p">[],</span><span class="w">
    </span><span class="nl">"signatures"</span><span class="p">:</span><span class="w"> </span><span class="p">[]</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"max_block_age"</span><span class="p">:</span><span class="w"> </span><span class="mi">-1</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>
<h5 id="network_broadcast_api.broadcast_transaction-expected_response_json">Expected Response JSON <a href="#network_broadcast_api.broadcast_transaction-expected_response_json"><i class="fas fa-link fa-sm"></i></a></h5>
<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{}</span><span class="w">
</span></code></pre></div></div>

<h5 id="network_broadcast_api.broadcast_transaction-curl-examples">Example <code>curl</code> <a href="#network_broadcast_api.broadcast_transaction-curl-examples"><i class="fas fa-link fa-sm"></i></a></h5>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-s</span> <span class="nt">--data</span> <span class="s1">'{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"vote_operation","value":{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}}],"extensions":[],"signatures":[]},"max_block_age":50}, "id":1}'</span> https://api.openhive.network
</code></pre></div></div>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-s</span> <span class="nt">--data</span> <span class="s1">'{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]},"max_block_age":50}, "id":1}'</span> https://api.openhive.network
</code></pre></div></div>

<hr />


</div>
<div class="footer">
  <a href="#">Back to top</a>
</div>
<script>
    document.getElementById("open-nav").addEventListener("click", function () {
        document.body.classList.toggle("nav-open");
    });
</script>
</body>
</html>


<script src="/js/adjust.js"></script>

